#ifndef SPIRAL_H
#define SPIRAL_H

#include "Effects/RGBEffect.h"

class Spiral : public RGBEffect
{

public:
    Spiral();
    ~Spiral();

    //EFFECT_REGISTERER(ClassName(), CAT_ADVANCED, [](){return new Spiral;});

    static std::string const ClassName() {return "Spiral";}
    //void DefineExtraOptions(QLayout*) override;
    void StepEffect(ControllerZone* const controller_zone) override;

private:

    double time = 1000.0;

    RGBColor GetColor(float, float, float, float, bool);
};

#endif // SPIRAL_H
